package test.core;

import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import hyl.core.info.Content;

import test.My;

public class testcontent {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		My.getInstance();
	}

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void test1() {
		Content c=new Content(1,"ddd");
		byte[] bb=c.toJsonBytes();
		Content c1=new Content();
		System.out.println(c1.toJsonString());
		c1.parseBytes(bb);
		
		// lang
		System.out.println(c1.toJsonString());
		System.out.println(c1.toString());
	}

}
